package com.jixiang.dictionary.controller;



import com.baomidou.mybatisplus.extension.api.ApiController;
import com.jixiang.model.common.dtos.ResponseResult;
import com.jixiang.dictionary.service.DsMenuService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 菜单表(UsMenu)表控制层
 *
 * @author makejava
 * @since 2023-10-12 18:51:50
 */
@RestController
@RequestMapping("menu")
public class DsMenuController extends ApiController {
    /**
     * 服务对象
     */
    @Resource
    private DsMenuService usMenuService;

    /**
     * 管理端菜单页
     *
     */
    @ApiOperation("管理端菜单页")
    @GetMapping("/adminGetMenu")
    public ResponseResult getMenuListByAdmin(){
        return usMenuService.getMenuListByAdmin();
    }
}

